//
//  DGGAliyunTokenRequest.h
//  AliyunOSSiOS
//
//  Created by 胡中楷 on 2020/7/3.
//

#import <Foundation/Foundation.h>

typedef void(^RequestAliyunTokenResultBlock)(NSDictionary *result, BOOL success, NSError *error);

@interface DGGAliyunTokenRequest : NSObject

/// 网关延签
@property (nonatomic, copy) NSString *serverSysKey;
@property (nonatomic, copy) NSString *serverSysCode;

- (void)requestAliyunTokenGetWithParams:(NSDictionary *)params headers:(NSDictionary *)headers completionHandler:(RequestAliyunTokenResultBlock)completion;

@end
